home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6193 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  4.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 77 73 68 6f 73 74 2e 6c |Path: ne|wshost.l|
|00000010| 61 6e 6c 2e 67 6f 76 21 | 74 61 6e 6d 6f 79 0a 46 |anl.gov!|tanmoy.F|
|00000020| 72 6f 6d 3a 20 74 61 6e | 6d 6f 79 40 71 63 64 2e |rom: tan|moy@qcd.|
|00000030| 6c 61 6e 6c 2e 67 6f 76 | 20 28 54 61 6e 6d 6f 79 |lanl.gov| (Tanmoy|
|00000040| 20 42 68 61 74 74 61 63 | 68 61 72 79 61 29 0a 4e | Bhattac|harya).N|
|00000050| 65 77 73 67 72 6f 75 70 | 73 3a 20 63 6f 6d 70 2e |ewsgroup|s: comp.|
|00000060| 6c 61 6e 67 2e 63 0a 53 | 75 62 6a 65 63 74 3a 20 |lang.c.S|ubject: |
|00000070| 52 65 3a 20 45 61 73 69 | 65 73 74 20 77 61 79 20 |Re: Easi|est way |
|00000080| 74 6f 20 63 65 6e 74 65 | 72 20 61 20 73 74 72 69 |to cente|r a stri|
|00000090| 6e 67 3f 0a 44 61 74 65 | 3a 20 32 32 20 46 65 62 |ng?.Date|: 22 Feb|
|000000a0| 20 31 39 39 36 20 31 37 | 3a 30 33 3a 31 35 20 47 | 1996 17|:03:15 G|
|000000b0| 4d 54 0a 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 3a |MT.Organ|ization:|
|000000c0| 20 4c 6f 73 20 41 6c 61 | 6d 6f 73 20 4e 61 74 69 | Los Ala|mos Nati|
|000000d0| 6f 6e 61 6c 20 4c 61 62 | 6f 72 61 74 6f 72 79 0a |onal Lab|oratory.|
|000000e0| 44 69 73 74 72 69 62 75 | 74 69 6f 6e 3a 20 77 6f |Distribu|tion: wo|
|000000f0| 72 6c 64 0a 4d 65 73 73 | 61 67 65 2d 49 44 3a 20 |rld.Mess|age-ID: |
|00000100| 3c 54 41 4e 4d 4f 59 2e | 39 36 46 65 62 32 32 31 |<TANMOY.|96Feb221|
|00000110| 30 30 33 31 35 40 71 63 | 64 2e 6c 61 6e 6c 2e 67 |00315@qc|d.lanl.g|
|00000120| 6f 76 3e 0a 52 65 66 65 | 72 65 6e 63 65 73 3a 20 |ov>.Refe|rences: |
|00000130| 3c 34 66 6f 62 6b 61 24 | 31 73 74 40 70 61 72 6c |<4fobka$|1st@parl|
|00000140| 6f 72 2e 68 69 77 61 61 | 79 2e 6e 65 74 3e 20 3c |or.hiwaa|y.net> <|
|00000150| 44 4d 71 45 47 35 2e 38 | 7a 34 40 65 73 6b 69 6d |DMqEG5.8|z4@eskim|
|00000160| 6f 2e 63 6f 6d 3e 0a 09 | 3c 34 66 72 69 66 35 24 |o.com>..|<4frif5$|
|00000170| 65 36 70 40 66 6f 68 6e | 69 78 2e 6d 65 74 72 6f |e6p@fohn|ix.metro|
|00000180| 6e 65 74 2e 63 6f 6d 3e | 20 3c 44 4d 75 75 7a 47 |net.com>| <DMuuzG|
|00000190| 2e 31 79 4b 40 65 73 6b | 69 6d 6f 2e 63 6f 6d 3e |.1yK@esk|imo.com>|
|000001a0| 0a 09 3c 34 67 62 6d 6d | 6f 24 6d 35 76 40 61 69 |..<4gbmm|o$m5v@ai|
|000001b0| 72 64 6d 68 6f 72 2e 67 | 65 6e 2e 6e 7a 3e 0a 09 |rdmhor.g|en.nz>..|
|000001c0| 3c 50 69 6e 65 2e 41 33 | 32 2e 33 2e 39 31 2e 39 |<Pine.A3|2.3.91.9|
|000001d0| 36 30 32 32 30 31 30 35 | 34 30 33 2e 38 36 32 39 |60220105|403.8629|
|000001e0| 31 44 2d 31 30 30 30 30 | 30 40 72 65 64 2e 77 65 |1D-10000|0@red.we|
|000001f0| 65 67 2e 75 69 6f 77 61 | 2e 65 64 75 3e 0a 09 3c |eg.uiowa|.edu>..<|
|00000200| 54 41 4e 4d 4f 59 2e 39 | 36 46 65 62 32 30 31 36 |TANMOY.9|6Feb2016|
|00000210| 33 38 32 39 40 71 63 64 | 2e 6c 61 6e 6c 2e 67 6f |3829@qcd|.lanl.go|
|00000220| 76 3e 0a 09 3c 50 69 6e | 65 2e 41 33 32 2e 33 2e |v>..<Pin|e.A32.3.|
|00000230| 39 31 2e 39 36 30 32 32 | 31 30 30 31 32 35 34 2e |91.96022|1001254.|
|00000240| 31 35 36 33 33 35 45 2d | 31 30 30 30 30 30 40 62 |156335E-|100000@b|
|00000250| 6c 61 63 6b 2e 77 65 65 | 67 2e 75 69 6f 77 61 2e |lack.wee|g.uiowa.|
|00000260| 65 64 75 3e 0a 09 3c 54 | 41 4e 4d 4f 59 2e 39 36 |edu>..<T|ANMOY.96|
|00000270| 46 65 62 32 31 30 38 32 | 36 34 34 40 71 63 64 2e |Feb21082|644@qcd.|
|00000280| 6c 61 6e 6c 2e 67 6f 76 | 3e 0a 09 3c 50 69 6e 65 |lanl.gov|>..<Pine|
|00000290| 2e 41 33 32 2e 33 2e 39 | 31 2e 39 36 30 32 32 31 |.A32.3.9|1.960221|
|000002a0| 31 36 32 39 34 30 2e 31 | 36 31 30 38 36 41 2d 31 |162940.1|61086A-1|
|000002b0| 30 30 30 30 30 40 62 6c | 61 63 6b 2e 77 65 65 67 |00000@bl|ack.weeg|
|000002c0| 2e 75 69 6f 77 61 2e 65 | 64 75 3e 0a 4e 4e 54 50 |.uiowa.e|du>.NNTP|
|000002d0| 2d 50 6f 73 74 69 6e 67 | 2d 48 6f 73 74 3a 20 71 |-Posting|-Host: q|
|000002e0| 63 64 2e 6c 61 6e 6c 2e | 67 6f 76 0a 4d 69 6d 65 |cd.lanl.|gov.Mime|
|000002f0| 2d 56 65 72 73 69 6f 6e | 3a 20 31 2e 30 0a 43 6f |-Version|: 1.0.Co|
|00000300| 6e 74 65 6e 74 2d 54 79 | 70 65 3a 20 74 65 78 74 |ntent-Ty|pe: text|
|00000310| 0a 49 6e 2d 72 65 70 6c | 79 2d 74 6f 3a 20 54 68 |.In-repl|y-to: Th|
|00000320| 65 20 41 6d 6f 72 70 68 | 6f 75 73 20 4d 61 73 73 |e Amorph|ous Mass|
|00000330| 27 73 20 6d 65 73 73 61 | 67 65 20 6f 66 20 57 65 |'s messa|ge of We|
|00000340| 64 2c 20 32 31 20 46 65 | 62 20 31 39 39 36 20 31 |d, 21 Fe|b 1996 1|
|00000350| 36 3a 35 30 3a 30 36 20 | 2d 30 36 30 30 0a 0a 50 |6:50:06 |-0600..P|
|00000360| 61 74 68 3a 20 6e 65 77 | 73 68 6f 73 74 2e 6c 61 |ath: new|shost.la|
|00000370| 6e 6c 2e 67 6f 76 21 66 | 65 72 72 61 72 69 2e 6d |nl.gov!f|errari.m|
|00000380| 73 74 36 2e 6c 61 6e 6c | 2e 67 6f 76 21 74 65 73 |st6.lanl|.gov!tes|
|00000390| 75 71 75 65 2e 63 73 2e | 73 61 6e 64 69 61 2e 67 |uque.cs.|sandia.g|
|000003a0| 6f 76 21 6c 79 6e 78 2e | 75 6e 6d 2e 65 64 75 21 |ov!lynx.|unm.edu!|
|000003b0| 66 67 31 2e 70 6c 6b 2e | 61 66 2e 6d 69 6c 21 6e |fg1.plk.|af.mil!n|
|000003c0| 65 77 73 2e 7a 79 6e 65 | 74 2e 63 6f 6d 21 69 6d |ews.zyne|t.com!im|
|000003d0| 63 69 32 21 6e 65 77 73 | 2e 69 6e 74 65 72 6e 65 |ci2!news|.interne|
|000003e0| 74 4d 43 49 2e 63 6f 6d | 21 6e 65 77 73 66 65 65 |tMCI.com|!newsfee|
|000003f0| 64 2e 69 6e 74 65 72 6e | 65 74 6d 63 69 2e 63 6f |d.intern|etmci.co|
|00000400| 6d 21 63 68 69 2d 6e 65 | 77 73 2e 63 69 63 2e 6e |m!chi-ne|ws.cic.n|
|00000410| 65 74 21 6e 65 77 73 2e | 75 69 6f 77 61 2e 65 64 |et!news.|uiowa.ed|
|00000420| 75 21 62 6c 61 63 6b 2e | 77 65 65 67 2e 75 69 6f |u!black.|weeg.uio|
|00000430| 77 61 2e 65 64 75 21 72 | 6f 62 69 6e 73 6f 6e 0a |wa.edu!r|obinson.|
|00000440| 46 72 6f 6d 3a 20 54 68 | 65 20 41 6d 6f 72 70 68 |From: Th|e Amorph|
|00000450| 6f 75 73 20 4d 61 73 73 | 20 3c 72 6f 62 69 6e 73 |ous Mass| <robins|
|00000460| 6f 6e 40 62 6c 75 65 2e | 77 65 65 67 2e 75 69 6f |on@blue.|weeg.uio|
|00000470| 77 61 2e 65 64 75 3e 0a | 4e 65 77 73 67 72 6f 75 |wa.edu>.|Newsgrou|
|00000480| 70 73 3a 20 63 6f 6d 70 | 2e 6c 61 6e 67 2e 63 0a |ps: comp|.lang.c.|
|00000490| 53 75 62 6a 65 63 74 3a | 20 52 65 3a 20 45 61 73 |Subject:| Re: Eas|
|000004a0| 69 65 73 74 20 77 61 79 | 20 74 6f 20 63 65 6e 74 |iest way| to cent|
|000004b0| 65 72 20 61 20 73 74 72 | 69 6e 67 3f 0a 44 61 74 |er a str|ing?.Dat|
|000004c0| 65 3a 20 57 65 64 2c 20 | 32 31 20 46 65 62 20 31 |e: Wed, |21 Feb 1|
|000004d0| 39 39 36 20 31 36 3a 35 | 30 3a 30 36 20 2d 30 36 |996 16:5|0:06 -06|
|000004e0| 30 30 0a 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 3a |00.Organ|ization:|
|000004f0| 20 55 6e 69 76 65 72 73 | 69 74 79 20 6f 66 20 49 | Univers|ity of I|
|00000500| 6f 77 61 2c 20 49 6f 77 | 61 20 43 69 74 79 2c 20 |owa, Iow|a City, |
|00000510| 49 41 2c 20 55 53 41 0a | 4c 69 6e 65 73 3a 20 35 |IA, USA.|Lines: 5|
|00000520| 33 0a 44 69 73 74 72 69 | 62 75 74 69 6f 6e 3a 20 |3.Distri|bution: |
|00000530| 77 6f 72 6c 64 0a 4d 65 | 73 73 61 67 65 2d 49 44 |world.Me|ssage-ID|
|00000540| 3a 20 3c 50 69 6e 65 2e | 41 33 32 2e 33 2e 39 31 |: <Pine.|A32.3.91|
|00000550| 2e 39 36 30 32 32 31 31 | 36 32 39 34 30 2e 31 36 |.9602211|62940.16|
|00000560| 31 30 38 36 41 2d 31 30 | 30 30 30 30 40 62 6c 61 |1086A-10|0000@bla|
|00000570| 63 6b 2e 77 65 65 67 2e | 75 69 6f 77 61 2e 65 64 |ck.weeg.|uiowa.ed|
|00000580| 75 3e 0a 52 65 66 65 72 | 65 6e 63 65 73 3a 20 3c |u>.Refer|ences: <|
|00000590| 34 66 6f 62 6b 61 24 31 | 73 74 40 70 61 72 6c 6f |4fobka$1|st@parlo|
|000005a0| 72 2e 68 69 77 61 61 79 | 2e 6e 65 74 3e 20 3c 44 |r.hiwaay|.net> <D|
|000005b0| 4d 71 45 47 35 2e 38 7a | 34 40 65 73 6b 69 6d 6f |MqEG5.8z|4@eskimo|
|000005c0| 2e 63 6f 6d 3e 0a 09 3c | 34 66 72 69 66 35 24 65 |.com>..<|4frif5$e|
|000005d0| 36 70 40 66 6f 68 6e 69 | 78 2e 6d 65 74 72 6f 6e |6p@fohni|x.metron|
|000005e0| 65 74 2e 63 6f 6d 3e 20 | 3c 44 4d 75 75 7a 47 2e |et.com> |<DMuuzG.|
|000005f0| 31 79 4b 40 65 73 6b 69 | 6d 6f 2e 63 6f 6d 3e 0a |1yK@eski|mo.com>.|
|00000600| 09 3c 34 67 62 6d 6d 6f | 24 6d 35 76 40 61 69 72 |.<4gbmmo|$m5v@air|
|00000610| 64 6d 68 6f 72 2e 67 65 | 6e 2e 6e 7a 3e 0a 09 3c |dmhor.ge|n.nz>..<|
|00000620| 50 69 6e 65 2e 41 33 32 | 2e 33 2e 39 31 2e 39 36 |Pine.A32|.3.91.96|
|00000630| 30 32 32 30 31 30 35 34 | 30 33 2e 38 36 32 39 31 |02201054|03.86291|
|00000640| 44 2d 31 30 30 30 30 30 | 40 72 65 64 2e 77 65 65 |D-100000|@red.wee|
|00000650| 67 2e 75 69 6f 77 61 2e | 65 64 75 3e 0a 09 3c 54 |g.uiowa.|edu>..<T|
|00000660| 41 4e 4d 4f 59 2e 39 36 | 46 65 62 32 30 31 36 33 |ANMOY.96|Feb20163|
|00000670| 38 32 39 40 71 63 64 2e | 6c 61 6e 6c 2e 67 6f 76 |829@qcd.|lanl.gov|
|00000680| 3e 0a 09 3c 50 69 6e 65 | 2e 41 33 32 2e 33 2e 39 |>..<Pine|.A32.3.9|
|00000690| 31 2e 39 36 30 32 32 31 | 30 30 31 32 35 34 2e 31 |1.960221|001254.1|
|000006a0| 35 36 33 33 35 45 2d 31 | 30 30 30 30 30 40 62 6c |56335E-1|00000@bl|
|000006b0| 61 63 6b 2e 77 65 65 67 | 2e 75 69 6f 77 61 2e 65 |ack.weeg|.uiowa.e|
|000006c0| 64 75 3e 20 3c 54 41 4e | 4d 4f 59 2e 39 36 46 65 |du> <TAN|MOY.96Fe|
|000006d0| 62 32 31 30 38 32 36 34 | 34 40 71 63 64 2e 6c 61 |b2108264|4@qcd.la|
|000006e0| 6e 6c 2e 67 6f 76 3e 0a | 4e 4e 54 50 2d 50 6f 73 |nl.gov>.|NNTP-Pos|
|000006f0| 74 69 6e 67 2d 48 6f 73 | 74 3a 20 62 6c 61 63 6b |ting-Hos|t: black|
|00000700| 2e 77 65 65 67 2e 75 69 | 6f 77 61 2e 65 64 75 0a |.weeg.ui|owa.edu.|
|00000710| 4d 69 6d 65 2d 56 65 72 | 73 69 6f 6e 3a 20 31 2e |Mime-Ver|sion: 1.|
|00000720| 30 0a 43 6f 6e 74 65 6e | 74 2d 54 79 70 65 3a 20 |0.Conten|t-Type: |
|00000730| 54 45 58 54 2f 50 4c 41 | 49 4e 3b 20 63 68 61 72 |TEXT/PLA|IN; char|
|00000740| 73 65 74 3d 55 53 2d 41 | 53 43 49 49 0a 58 2d 53 |set=US-A|SCII.X-S|
|00000750| 65 6e 64 65 72 3a 20 72 | 6f 62 69 6e 73 6f 6e 40 |ender: r|obinson@|
|00000760| 62 6c 61 63 6b 2e 77 65 | 65 67 2e 75 69 6f 77 61 |black.we|eg.uiowa|
|00000770| 2e 65 64 75 0a 49 6e 2d | 52 65 70 6c 79 2d 54 6f |.edu.In-|Reply-To|
|00000780| 3a 20 3c 54 41 4e 4d 4f | 59 2e 39 36 46 65 62 32 |: <TANMO|Y.96Feb2|
|00000790| 31 30 38 32 36 34 34 40 | 71 63 64 2e 6c 61 6e 6c |1082644@|qcd.lanl|
|000007a0| 2e 67 6f 76 3e 20 0a 0a | 49 6e 20 61 72 74 69 63 |.gov> ..|In artic|
|000007b0| 6c 65 20 3c 50 69 6e 65 | 2e 41 33 32 2e 33 2e 39 |le <Pine|.A32.3.9|
|000007c0| 31 2e 39 36 30 32 32 31 | 31 36 32 39 34 30 2e 31 |1.960221|162940.1|
|000007d0| 36 31 30 38 36 41 2d 31 | 30 30 30 30 30 40 62 6c |61086A-1|00000@bl|
|000007e0| 61 63 6b 2e 77 65 65 67 | 2e 75 69 6f 77 61 2e 65 |ack.weeg|.uiowa.e|
|000007f0| 64 75 3e 0a 54 68 65 20 | 41 6d 6f 72 70 68 6f 75 |du>.The |Amorphou|
|00000800| 73 20 4d 61 73 73 20 3c | 72 6f 62 69 6e 73 6f 6e |s Mass <|robinson|
|00000810| 40 62 6c 75 65 2e 77 65 | 65 67 2e 75 69 6f 77 61 |@blue.we|eg.uiowa|
|00000820| 2e 65 64 75 3e 20 77 72 | 69 74 65 73 3a 0a 0a 3c |.edu> wr|ites:..<|
|00000830| 73 6e 69 70 3e 0a 54 41 | 4d 3a 20 20 20 49 20 67 |snip>.TA|M: I g|
|00000840| 75 65 73 73 20 49 20 73 | 74 69 6c 6c 20 6e 65 65 |uess I s|till nee|
|00000850| 64 20 74 6f 20 68 61 76 | 65 20 74 68 69 73 20 63 |d to hav|e this c|
|00000860| 6c 61 72 69 66 69 65 64 | 20 28 6d 79 20 6b 6e 6f |larified| (my kno|
|00000870| 77 6c 65 64 67 65 20 6f | 66 20 74 79 70 65 20 0a |wledge o|f type .|
|00000880| 54 41 4d 3a 20 70 72 6f | 6d 6f 74 69 6f 6e 20 65 |TAM: pro|motion e|
|00000890| 74 20 61 6c 20 69 73 20 | 61 64 6d 69 74 74 65 64 |t al is |admitted|
|000008a0| 6c 79 20 73 68 61 6b 79 | 29 2e 20 20 49 66 20 79 |ly shaky|). If y|
|000008b0| 6f 75 20 73 75 62 74 72 | 61 63 74 20 61 6e 20 75 |ou subtr|act an u|
|000008c0| 6e 73 69 67 6e 65 64 20 | 69 6e 74 20 0a 54 41 4d |nsigned |int .TAM|
|000008d0| 3a 20 66 72 6f 6d 20 61 | 6e 20 69 6e 74 2c 20 69 |: from a|n int, i|
|000008e0| 73 20 74 68 65 20 72 65 | 73 75 6c 74 20 6e 65 63 |s the re|sult nec|
|000008f0| 65 73 73 61 72 69 6c 79 | 20 75 6e 73 69 67 6e 65 |essarily| unsigne|
|00000900| 64 20 69 6e 74 3f 20 20 | 49 73 20 74 68 61 74 20 |d int? |Is that |
|00000910| 74 72 75 65 20 0a 54 41 | 4d 3a 20 67 65 6e 65 72 |true .TA|M: gener|
|00000920| 61 6c 6c 79 20 66 6f 72 | 20 69 6e 74 65 67 72 61 |ally for| integra|
|00000930| 6c 20 74 79 70 65 73 3f | 20 20 49 4f 57 2c 20 61 |l types?| IOW, a|
|00000940| 72 65 20 79 6f 75 20 73 | 61 79 69 6e 67 20 74 68 |re you s|aying th|
|00000950| 61 74 20 73 74 72 6c 65 | 6e 28 22 68 65 6c 6c 6f |at strle|n("hello|
|00000960| 2c 20 0a 54 41 4d 3a 20 | 77 6f 72 6c 64 22 29 20 |, .TAM: |world") |
|00000970| 2d 20 38 30 20 77 69 6c | 6c 20 65 76 61 6c 75 61 |- 80 wil|l evalua|
|00000980| 74 65 20 74 6f 20 55 49 | 4e 54 5f 4d 41 58 20 2d |te to UI|NT_MAX -|
|00000990| 20 36 38 20 28 6f 72 20 | 73 6f 6d 65 74 68 69 6e | 68 (or |somethin|
|000009a0| 67 20 6c 69 6b 65 20 74 | 68 61 74 29 3f 0a 0a 52 |g like t|hat)?..R|
|000009b0| 75 6c 65 73 20 6f 66 20 | 70 72 6f 6d 6f 74 69 6f |ules of |promotio|
|000009c0| 6e 20 61 72 65 20 73 69 | 6d 70 6c 65 3a 0a 0a 46 |n are si|mple:..F|
|000009d0| 69 72 73 74 20 69 6e 74 | 65 67 72 61 6c 20 70 72 |irst int|egral pr|
|000009e0| 6f 6d 6f 74 69 6f 6e 3a | 0a 20 20 20 31 29 20 41 |omotion:|. 1) A|
|000009f0| 70 70 6c 69 65 73 20 6f | 6e 6c 79 20 74 6f 20 69 |pplies o|nly to i|
|00000a00| 6e 74 65 67 72 61 6c 20 | 74 79 70 65 73 2e 0a 20 |ntegral |types.. |
|00000a10| 20 20 32 29 20 44 6f 6e | 27 74 20 63 68 61 6e 67 | 2) Don|'t chang|
|00000a20| 65 20 73 69 67 6e 65 64 | 20 6f 72 20 75 6e 73 69 |e signed| or unsi|
|00000a30| 67 6e 65 64 20 69 6e 74 | 20 6f 72 20 6c 6f 6e 67 |gned int| or long|
|00000a40| 2e 0a 20 20 20 33 29 20 | 49 66 20 74 79 70 65 20 |.. 3) |If type |
|00000a50| 69 73 20 73 75 63 68 20 | 74 68 61 74 20 61 6c 6c |is such |that all|
|00000a60| 20 76 61 6c 75 65 73 20 | 63 61 6e 20 62 65 20 72 | values |can be r|
|00000a70| 65 70 72 65 73 65 6e 74 | 65 64 20 61 73 20 69 6e |epresent|ed as in|
|00000a80| 74 2c 0a 20 20 20 20 20 | 20 63 6f 6e 76 65 72 74 |t,. | convert|
|00000a90| 20 74 6f 20 69 6e 74 2c | 20 65 6c 73 65 20 74 6f | to int,| else to|
|00000aa0| 20 75 6e 73 69 67 6e 65 | 64 20 69 6e 74 2e 20 54 | unsigne|d int. T|
|00000ab0| 68 75 73 20 69 6e 74 65 | 67 72 61 6c 20 70 72 6f |hus inte|gral pro|
|00000ac0| 6d 6f 74 69 6f 6e 73 0a | 20 20 20 20 20 20 61 72 |motions.| ar|
|00000ad0| 65 20 60 76 61 6c 75 65 | 20 70 72 65 73 65 72 76 |e `value| preserv|
|00000ae0| 69 6e 67 27 20 77 68 65 | 6e 20 70 6f 73 73 69 62 |ing' whe|n possib|
|00000af0| 6c 65 2e 0a 0a 4e 6f 74 | 65 20 74 68 61 74 20 74 |le...Not|e that t|
|00000b00| 68 65 20 77 6f 72 64 20 | 60 76 61 6c 75 65 20 70 |he word |`value p|
|00000b10| 72 65 73 65 72 76 69 6e | 67 27 20 64 6f 65 73 20 |reservin|g' does |
|00000b20| 6e 6f 74 20 69 6d 70 6c | 79 20 74 68 61 74 20 74 |not impl|y that t|
|00000b30| 68 65 20 74 79 70 65 0a | 64 65 70 65 6e 64 73 20 |he type.|depends |
|00000b40| 6f 6e 20 74 68 65 20 61 | 63 74 75 61 6c 20 76 61 |on the a|ctual va|
|00000b50| 6c 75 65 20 6f 66 20 61 | 6e 20 65 78 70 72 65 73 |lue of a|n expres|
|00000b60| 73 69 6f 6e 2e 20 49 74 | 20 69 6d 70 6c 69 65 73 |sion. It| implies|
|00000b70| 20 74 68 61 74 20 61 6e | 0a 5f 61 74 74 65 6d 70 | that an|._attemp|
|00000b80| 74 5f 20 69 73 20 6d 61 | 64 65 20 74 6f 20 6d 61 |t_ is ma|de to ma|
|00000b90| 6b 65 20 74 72 61 6e 73 | 66 6f 72 6d 61 74 69 6f |ke trans|formatio|
|00000ba0| 6e 73 20 73 75 63 68 20 | 74 68 61 74 20 74 68 65 |ns such |that the|
|00000bb0| 20 66 69 6e 61 6c 20 72 | 65 73 75 6c 74 0a 74 79 | final r|esult.ty|
|00000bc0| 70 65 20 63 61 6e 20 68 | 6f 6c 64 20 61 6c 6c 20 |pe can h|old all |
|00000bd0| 70 6f 73 73 69 62 6c 65 | 20 76 61 6c 75 65 73 20 |possible| values |
|00000be0| 6f 66 20 74 68 65 20 6f | 72 69 67 69 6e 61 6c 20 |of the o|riginal |
|00000bf0| 74 79 70 65 2e 0a 0a 54 | 6f 20 73 70 65 6c 6c 20 |type...T|o spell |
|00000c00| 6f 75 74 20 61 73 20 73 | 61 79 69 6e 67 20 73 69 |out as s|aying si|
|00000c10| 67 6e 65 64 20 63 68 61 | 72 2c 20 73 69 67 6e 65 |gned cha|r, signe|
|00000c20| 64 20 73 68 6f 72 74 20 | 2d 3e 20 73 69 67 6e 65 |d short |-> signe|
|00000c30| 64 0a 69 6e 74 2e 20 55 | 6e 73 69 67 6e 65 64 20 |d.int. U|nsigned |
|00000c40| 74 79 70 65 73 20 73 74 | 72 69 63 74 6c 79 20 73 |types st|rictly s|
|00000c50| 6d 61 6c 6c 65 72 20 74 | 68 61 6e 20 69 6e 74 20 |maller t|han int |
|00000c60| 28 62 79 20 77 68 69 63 | 68 20 49 20 6d 65 61 6e |(by whic|h I mean|
|00000c70| 2c 20 61 6c 6c 20 6f 66 | 0a 77 68 69 63 68 20 63 |, all of|.which c|
|00000c80| 61 6e 20 62 65 20 72 65 | 70 72 65 73 65 6e 74 65 |an be re|presente|
|00000c90| 64 20 62 79 20 61 20 70 | 6f 73 69 74 69 76 65 20 |d by a p|ositive |
|00000ca0| 69 6e 74 29 20 62 65 63 | 6f 6d 65 20 69 6e 74 2e |int) bec|ome int.|
|00000cb0| 20 55 6e 73 69 67 6e 65 | 64 0a 74 79 70 65 73 20 | Unsigne|d.types |
|00000cc0| 65 71 75 61 6c 20 69 6e | 20 73 69 7a 65 20 74 6f |equal in| size to|
|00000cd0| 20 69 6e 74 20 28 6f 72 | 20 72 61 74 68 65 72 2c | int (or| rather,|
|00000ce0| 20 6e 6f 74 20 61 6c 6c | 20 77 68 6f 73 65 20 76 | not all| whose v|
|00000cf0| 61 6c 75 65 73 20 66 69 | 74 20 69 6e 74 6f 20 61 |alues fi|t into a|
|00000d00| 0a 70 6f 73 69 74 69 76 | 65 20 69 6e 74 29 2c 20 |.positiv|e int), |
|00000d10| 6f 72 20 74 79 70 65 73 | 20 62 69 67 67 65 72 20 |or types| bigger |
|00000d20| 74 68 61 6e 20 69 6e 74 | 20 28 6f 74 68 65 72 20 |than int| (other |
|00000d30| 74 68 61 6e 20 73 69 67 | 6e 65 64 20 61 6e 64 0a |than sig|ned and.|
|00000d40| 75 6e 73 69 67 6e 65 64 | 20 6c 6f 6e 67 3a 20 73 |unsigned| long: s|
|00000d50| 68 6f 75 6c 64 20 62 65 | 20 61 6e 20 65 6d 70 74 |hould be| an empt|
|00000d60| 79 20 73 65 74 29 2c 20 | 67 65 74 20 63 6f 6e 76 |y set), |get conv|
|00000d70| 65 72 74 65 64 20 74 6f | 20 69 6e 74 2e 0a 0a 4e |erted to| int...N|
|00000d80| 6f 77 2c 20 69 66 20 6f | 6e 65 20 68 61 73 20 62 |ow, if o|ne has b|
|00000d90| 69 6e 61 72 79 20 6f 70 | 65 72 61 74 6f 72 20 62 |inary op|erator b|
|00000da0| 65 74 77 65 65 6e 20 61 | 72 69 74 68 6d 65 74 69 |etween a|rithmeti|
|00000db0| 63 20 74 79 70 65 73 20 | 28 6e 6f 74 65 20 74 68 |c types |(note th|
|00000dc0| 65 73 65 0a 6d 75 73 74 | 20 62 65 20 66 6c 6f 61 |ese.must| be floa|
|00000dd0| 74 69 6e 67 20 70 6f 69 | 6e 74 20 74 79 70 65 73 |ting poi|nt types|
|00000de0| 20 6f 72 20 73 69 67 6e | 65 64 20 6f 72 20 75 6e | or sign|ed or un|
|00000df0| 73 69 67 6e 65 64 20 69 | 6e 74 20 6f 72 20 6c 6f |signed i|nt or lo|
|00000e00| 6e 67 29 2c 20 62 72 69 | 6e 67 0a 74 68 65 6d 20 |ng), bri|ng.them |
|00000e10| 74 6f 20 61 20 63 6f 6d | 6d 6f 6e 20 74 79 70 65 |to a com|mon type|
|00000e20| 2c 20 77 68 69 63 68 20 | 77 69 6c 6c 20 61 6c 73 |, which |will als|
|00000e30| 6f 20 62 65 20 74 68 65 | 20 74 79 70 65 20 6f 66 |o be the| type of|
|00000e40| 20 74 68 65 20 72 65 73 | 75 6c 74 2e 0a 20 20 20 | the res|ult.. |
|00000e50| 31 29 20 6c 6f 6e 67 20 | 64 6f 75 62 6c 65 20 3e |1) long |double >|
|00000e60| 20 64 6f 75 62 6c 65 20 | 3e 20 66 6c 6f 61 74 20 | double |> float |
|00000e70| 3e 20 69 6e 74 65 67 72 | 61 6c 2c 0a 20 20 20 20 |> integr|al,. |
|00000e80| 20 20 69 2e 65 2e 20 69 | 6e 74 20 2b 20 64 6f 75 | i.e. i|nt + dou|
|00000e90| 62 6c 65 20 2d 2d 3e 20 | 64 6f 75 62 6c 65 20 2b |ble --> |double +|
|00000ea0| 20 64 6f 75 62 6c 65 0a | 20 20 20 32 29 20 75 6e | double.| 2) un|
|00000eb0| 73 69 67 6e 65 64 20 77 | 69 6e 73 3a 20 75 6e 73 |signed w|ins: uns|
|00000ec0| 69 67 6e 65 64 20 69 6e | 74 20 3e 20 73 69 67 6e |igned in|t > sign|
|00000ed0| 65 64 20 69 6e 74 3b 20 | 75 6e 73 69 67 6e 65 64 |ed int; |unsigned|
|00000ee0| 20 6c 6f 6e 67 20 3e 20 | 73 69 67 6e 65 64 20 6c | long > |signed l|
|00000ef0| 6f 6e 67 0a 20 20 20 33 | 29 20 6c 6f 6e 67 20 77 |ong. 3|) long w|
|00000f00| 69 6e 73 3a 20 75 6e 73 | 69 67 6e 65 64 20 6c 6f |ins: uns|igned lo|
|00000f10| 6e 67 20 3e 20 75 6e 73 | 69 67 6e 65 64 20 69 6e |ng > uns|igned in|
|00000f20| 74 3b 20 73 69 67 6e 65 | 64 20 6c 6f 6e 67 20 3e |t; signe|d long >|
|00000f30| 20 73 69 67 6e 65 64 20 | 69 6e 74 0a 20 20 20 34 | signed |int. 4|
|00000f40| 29 20 57 68 65 6e 20 32 | 20 61 6e 64 20 33 20 64 |) When 2| and 3 d|
|00000f50| 6f 6e 27 74 20 63 6f 6e | 66 6c 69 63 74 2c 20 66 |on't con|flict, f|
|00000f60| 6f 6c 6c 6f 77 20 69 74 | 3a 20 20 75 6e 73 69 67 |ollow it|: unsig|
|00000f70| 6e 65 64 20 6c 6f 6e 67 | 20 3e 20 73 69 67 6e 65 |ned long| > signe|
|00000f80| 64 20 69 6e 74 0a 20 20 | 20 35 29 20 57 68 65 6e |d int. | 5) When|
|00000f90| 20 28 32 29 20 61 6e 64 | 20 28 33 29 20 63 6f 6e | (2) and| (3) con|
|00000fa0| 66 6c 69 63 74 2c 20 69 | 2e 65 2e 20 77 68 65 6e |flict, i|.e. when|
|00000fb0| 20 6f 6e 65 20 6f 70 65 | 72 61 6e 64 20 69 73 20 | one ope|rand is |
|00000fc0| 73 69 67 6e 65 64 20 0a | 20 20 20 20 20 20 6c 6f |signed .| lo|
|00000fd0| 6e 67 20 61 6e 64 20 74 | 68 65 20 6f 74 68 65 72 |ng and t|he other|
|00000fe0| 20 69 73 20 75 6e 73 69 | 67 6e 65 64 20 69 6e 74 | is unsi|gned int|
|00000ff0| 2c 20 74 72 79 20 76 61 | 6c 75 65 20 70 72 65 73 |, try va|lue pres|
|00001000| 65 72 76 69 6e 67 20 6c | 6f 6e 67 3a 20 0a 20 20 |erving l|ong: . |
|00001010| 20 20 20 20 69 2e 65 2e | 20 69 66 20 73 69 67 6e | i.e.| if sign|
|00001020| 65 64 20 6c 6f 6e 67 20 | 63 61 6e 20 72 65 70 72 |ed long |can repr|
|00001030| 65 73 65 6e 74 20 61 6c | 6c 20 6f 66 20 75 6e 73 |esent al|l of uns|
|00001040| 69 67 6e 65 64 20 69 6e | 74 2c 20 74 68 61 74 20 |igned in|t, that |
|00001050| 69 73 0a 20 20 20 20 20 | 20 74 68 65 20 63 6f 6d |is. | the com|
|00001060| 6d 6f 6e 20 74 79 70 65 | 2e 20 4f 74 68 65 72 77 |mon type|. Otherw|
|00001070| 69 73 65 2c 20 62 6f 74 | 68 20 6f 70 65 72 61 6e |ise, bot|h operan|
|00001080| 64 73 20 62 65 63 6f 6d | 65 20 75 6e 73 69 67 6e |ds becom|e unsign|
|00001090| 65 64 20 6c 6f 6e 67 2e | 0a 0a 48 6f 70 65 20 74 |ed long.|..Hope t|
|000010a0| 68 69 73 20 68 65 6c 70 | 73 2e 0a 0a 43 68 65 65 |his help|s...Chee|
|000010b0| 72 73 0a 54 61 6e 6d 6f | 79 20 20 0a 2d 2d 0a 74 |rs.Tanmo|y .--.t|
|000010c0| 61 6e 6d 6f 79 40 71 63 | 64 2e 6c 61 6e 6c 2e 67 |anmoy@qc|d.lanl.g|
|000010d0| 6f 76 28 31 32 38 2e 31 | 36 35 2e 32 33 2e 34 36 |ov(128.1|65.23.46|
|000010e0| 29 20 44 45 43 4e 45 54 | 3a 20 42 45 54 41 3a 3a |) DECNET|: BETA::|
|000010f0| 22 74 61 6e 6d 6f 79 40 | 6c 61 6e 6c 2e 67 6f 76 |"tanmoy@|lanl.gov|
|00001100| 22 28 31 2e 32 31 38 3d | 31 32 34 32 29 0a 54 61 |"(1.218=|1242).Ta|
|00001110| 6e 6d 6f 79 20 42 68 61 | 74 74 61 63 68 61 72 79 |nmoy Bha|ttachary|
|00001120| 61 20 4f 3a 54 2d 38 28 | 4d 53 20 42 32 38 35 29 |a O:T-8(|MS B285)|
|00001130| 4c 41 4e 4c 2c 4e 4d 38 | 37 35 34 35 20 48 3a 23 |LANL,NM8|7545 H:#|
|00001140| 39 2c 33 30 30 30 2c 54 | 72 69 6e 69 74 79 20 44 |9,3000,T|rinity D|
|00001150| 72 69 76 65 2c 4e 4d 38 | 37 35 34 34 0a 4f 74 68 |rive,NM8|7544.Oth|
|00001160| 65 72 73 20 73 65 65 20 | 3c 67 6f 70 68 65 72 3a |ers see |<gopher:|
|00001170| 2f 2f 79 61 6c 65 69 6e | 66 6f 2e 79 61 6c 65 2e |//yalein|fo.yale.|
|00001180| 65 64 75 3a 37 37 30 30 | 2f 30 30 2f 49 6e 74 65 |edu:7700|/00/Inte|
|00001190| 72 6e 65 74 2d 50 65 6f | 70 6c 65 2f 69 6e 74 65 |rnet-Peo|ple/inte|
|000011a0| 72 6e 65 74 2d 6d 61 69 | 6c 3e 2c 0a 3c 68 74 74 |rnet-mai|l>,.<htt|
|000011b0| 70 3a 2f 2f 61 6c 70 68 | 61 2e 61 63 61 73 74 2e |p://alph|a.acast.|
|000011c0| 6e 6f 76 61 2e 65 64 75 | 2f 63 67 69 2d 62 69 6e |nova.edu|/cgi-bin|
|000011d0| 2f 69 6e 6d 67 71 2e 70 | 6c 3e 6f 72 3c 66 74 70 |/inmgq.p|l>or<ftp|
|000011e0| 3a 2f 2f 63 73 64 34 2e | 63 73 64 2e 75 77 6d 2e |://csd4.|csd.uwm.|
|000011f0| 65 64 75 2f 70 75 62 2f | 0a 69 6e 74 65 72 6e 65 |edu/pub/|.interne|
|00001200| 74 77 6f 72 6b 2d 6d 61 | 69 6c 2d 67 75 69 64 65 |twork-ma|il-guide|
|00001210| 3e 2e 20 2d 2d 20 3c 68 | 74 74 70 3a 2f 2f 6e 71 |>. -- <h|ttp://nq|
|00001220| 63 64 2e 6c 61 6e 6c 2e | 67 6f 76 2f 70 65 6f 70 |cd.lanl.|gov/peop|
|00001230| 6c 65 2f 74 61 6e 6d 6f | 79 2f 74 61 6e 6d 6f 79 |le/tanmo|y/tanmoy|
|00001240| 2e 68 74 6d 6c 3e 0a 66 | 61 78 3a 20 31 20 28 35 |.html>.f|ax: 1 (5|
|00001250| 30 35 29 20 36 36 35 20 | 33 30 30 33 20 20 20 76 |05) 665 |3003 v|
|00001260| 6f 69 63 65 3a 20 31 20 | 28 35 30 35 29 20 36 36 |oice: 1 |(505) 66|
|00001270| 35 20 34 37 33 33 20 20 | 20 20 5b 20 48 6f 6d 65 |5 4733 | [ Home|
|00001280| 3a 20 31 20 28 35 30 35 | 29 20 36 36 32 20 35 35 |: 1 (505|) 662 55|
|00001290| 39 36 20 5d 0a | |96 ]. | |
+--------+-------------------------+-------------------------+--------+--------+